package com.example.administrator.appstpremvpdemo.model.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/11/30.
 */
public class ValueBean {
    /**
     * apk : https://dl.appstore.vivoglobal.com/app/1.0/download.do?appid=10000085
     * category : Music
     * categoryId : 10000045
     * downloadCount : 272
     * fileMd5 : 46a224cab53f68bb91485e638cf72e01
     * icon : https://172.25.34.2/content/appcontent/icon/201707/24/09/56/20170724095626804.webp
     * id : 10000085
     * label : 0
     * operType : 0
     * packageName : freemusic.player
     * patches : []
     * rate : 4.5
     * size : 6702421
     * source : 1
     * title : MusiCool - Free Music Player & Downloader
     * versionCode : 10
     * versionName : 1.3
     */

    private String apk;
    private String category;
    private int categoryId;
    private int downloadCount;
    private String fileMd5;
    private String icon;
    private int id;
    private int label;
    private int operType;
    private String packageName;
    private double rate;
    private int size;
    private String source;
    private String title;
    private String versionCode;
    private String versionName;
    private List<?> patches;

    private StatusModel mStatusModel;

    public StatusModel getStatusModel() {
        return mStatusModel;
    }

    public void setStatusModel(StatusModel statusModel) {
        mStatusModel = statusModel;
    }

    //增加进度参数
    private int progress;

    //下载状态的参数
    private String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }


    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }

    public String getApk() {
        return apk;
    }

    public void setApk(String apk) {
        this.apk = apk;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public int getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(int downloadCount) {
        this.downloadCount = downloadCount;
    }

    public String getFileMd5() {
        return fileMd5;
    }

    public void setFileMd5(String fileMd5) {
        this.fileMd5 = fileMd5;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLabel() {
        return label;
    }

    public void setLabel(int label) {
        this.label = label;
    }

    public int getOperType() {
        return operType;
    }

    public void setOperType(int operType) {
        this.operType = operType;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public double getRate() {
        return rate;
    }

    public void setRate(double rate) {
        this.rate = rate;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(String versionCode) {
        this.versionCode = versionCode;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public List<?> getPatches() {
        return patches;
    }

    public void setPatches(List<?> patches) {
        this.patches = patches;
    }
}
